export const deviceTableOBJ = {
    HistoryWater: {
        table: [
            {name: '区域名称', propData: 'rangeName', children: []},
            {name: '设备名称', propData: 'deviceName', children: []},
            {name: '设备编号', propData: 'deviceNo', children: []},
            {name: '数据日期', propData: 'deviceNo', children: []},
            {name: '最终水表读数', propData: 'activeEnergyTotal', children: []},
            {name: '总用水量', propData: 'intervalWaterConsumption', children: []},
        ],
        tableChilder: [
            {name: '数据日期', propData: 'dataTime', children: []},
            {name: '水表读数', propData: 'totalWaterVolume', children: []},
            {name: '用水量', propData: 'waterConsumption', children: []},
        ],
        showColumn: {
            dataTime: true,
            totalWaterVolume: true,
            waterConsumption: false
        },
        showCheckbox: [{
            name: '水表读数',
            data: "totalWaterVolume"
        }, {
            name: '用水量',
            data: "waterConsumption"
        }],
        name: 'historyWater'
    },
    HistoryElectric: {
        table: [
            {name: '区域名称', propData: 'rangeName', children: []},
            {name: '设备名称', propData: 'deviceName', children: []},
            {name: '设备编号', propData: 'deviceNo', children: []},
            {name: '正向有功', propData: '', children: [
                    {name: '使用量(kw/h)', propData: 'activeEnergyConsumption', children: []},
                    {name: '累计值(kw/h)', propData: 'activeEnergyTotal', children: []}
                ]
            },
            {name: '正向有功实际值', propData: '', children: [
                    {name: '使用量(kw/h)', propData: 'realActiveEnergyConsumption', children: []},
                    {name: '累计值(kw/h)', propData: 'realActiveEnergyTotal', children: []}
                ]
            },
            {name: '倍率', propData: 'multiplier', children: []},
            {name: '反向有功(kw/h)', propData: 'reverseActiveEnergy', children: []},
            {name: '感性无功(kvrah)', propData: 'inductiveReactivePower', children: []},
            {name: '容性无功(kvrah)', propData: 'capacitiveReactivePower', children: []},
            {name: 'CT变比', propData: 'ctRatio', children: []},
            {name: 'PT变比', propData: 'ptRatio', children: []},
            {name: '电压(V)', propData: '', children: [
                    {name: 'A相电压', propData: 'phaseAVoltage', children: []},
                    {name: 'B相电压', propData: 'phaseBVoltage', children: []},
                    {name: 'C相电压', propData: 'phaseCVoltage', children: []}
                ]
            },
            {name: '线电压(V)', propData: '', children: [
                    {name: 'AB线电压', propData: 'lineAbVoltage', children: []},
                    {name: 'BC线电压', propData: 'lineBcVoltage', children: []},
                    {name: 'CA线电压', propData: 'lineCaVoltage', children: []}
                ]
            },
            {name: '电流(A)', propData: '', children: [
                    {name: 'A相电流', propData: 'phaseACurrent', children: []},
                    {name: 'B相电流', propData: 'phaseBCurrent', children: []},
                    {name: 'C相电流', propData: 'phaseCCurrent', children: []}
                ]
            },
            {name: '有功功率(kw)', propData: '', children: [
                    {name: 'A相有功功率', propData: 'phaseAActivePower', children: []},
                    {name: 'B相有功功率', propData: 'phaseBActivePower', children: []},
                    {name: 'C相有功功率', propData: 'phaseCActivePower', children: []},
                    {name: '总有功功率', propData: 'allActivePower', children: []}
                ]
            },
            {name: '无功功率(kVAr)', propData: '', children: [
                    {name: 'A相无功功率', propData: 'phaseAReactivePower', children: []},
                    {name: 'B相无功功率', propData: 'phaseBReactivePower', children: []},
                    {name: 'C相无功功率', propData: 'phaseCReactivePower', children: []},
                    {name: '总无功功率', propData: 'allReactivePower', children: []}
                ]
            },
            {name: '视在功率(kVA)', propData: '', children: [
                    {name: 'A相视在功率', propData: 'phaseAApparentPower', children: []},
                    {name: 'B相视在功率', propData: 'phaseBApparentPower', children: []},
                    {name: 'C相视在功率', propData: 'phaseCApparentPower', children: []},
                    {name: '总视在功率', propData: 'allApparentPower', children: []}
                ]
            },
            {name: '功率因数', propData: '', children: [
                    {name: 'A相功率因数', propData: 'phaseAPowerFactor', children: []},
                    {name: 'B相功率因数', propData: 'phaseBPowerFactor', children: []},
                    {name: 'C相功率因数', propData: 'phaseCPowerFactor', children: []},
                    {name: '总功率因数', propData: 'allPowerFactor', children: []}
                ]
            },
            {name: '频率(Hz)', propData: 'frequency', children: []},
            {name: '状态', propData: 'status', children: []},
        ],
        tableChilder: [
            {name: '数据时间', propData: 'dataTime', children: []},
            {name: '正向有功', propData: '', children: [
                    {name: '使用量(kw/h)', propData: 'activeEnergyConsumption', children: []},
                    {name: '累计值(kw/h)', propData: 'activeEnergyTotal', children: []}
                ]
            },
            {name: '正向有功实际值', propData: '', children: [
                    {name: '使用量(kw/h)', propData: 'realActiveEnergyConsumption', children: []},
                    {name: '累计值(kw/h)', propData: 'realActiveEnergyTotal', children: []}
                ]
            },
            {name: '倍率', propData: 'multiplier', children: []},
            {name: '反向有功(kw/h)', propData: 'reverseActiveEnergy', children: []},
            {name: '感性无功(kvrah)', propData: 'inductiveReactivePower', children: []},
            {name: '容性无功(kvrah)', propData: 'capacitiveReactivePower', children: []},
            {name: 'CT变比', propData: 'ctRatio', children: []},
            {name: 'PT变比', propData: 'ptRatio', children: []},
            {name: '电压(V)', propData: '', children: [
                    {name: 'A相电压', propData: 'phaseAVoltage', children: []},
                    {name: 'B相电压', propData: 'phaseBVoltage', children: []},
                    {name: 'C相电压', propData: 'phaseCVoltage', children: []}
                ]
            },
            {name: '线电压(V)', propData: '', children: [
                    {name: 'AB线电压', propData: 'lineAbVoltage', children: []},
                    {name: 'BC线电压', propData: 'lineBcVoltage', children: []},
                    {name: 'CA线电压', propData: 'lineCaVoltage', children: []}
                ]
            },
            {name: '电流(A)', propData: '', children: [
                    {name: 'A相电流', propData: 'phaseACurrent', children: []},
                    {name: 'B相电流', propData: 'phaseBCurrent', children: []},
                    {name: 'C相电流', propData: 'phaseCCurrent', children: []}
                ]
            },
            {name: '有功功率(kw)', propData: '', children: [
                    {name: 'A相有功功率', propData: 'phaseAActivePower', children: []},
                    {name: 'B相有功功率', propData: 'phaseBActivePower', children: []},
                    {name: 'C相有功功率', propData: 'phaseCActivePower', children: []},
                    {name: '总有功功率', propData: 'allActivePower', children: []}
                ]
            },
            {name: '无功功率(kVAr)', propData: '', children: [
                    {name: 'A相无功功率', propData: 'phaseAReactivePower', children: []},
                    {name: 'B相无功功率', propData: 'phaseBReactivePower', children: []},
                    {name: 'C相无功功率', propData: 'phaseCReactivePower', children: []},
                    {name: '总无功功率', propData: 'allReactivePower', children: []}
                ]
            },
            {name: '视在功率(kVA)', propData: '', children: [
                    {name: 'A相视在功率', propData: 'phaseAApparentPower', children: []},
                    {name: 'B相视在功率', propData: 'phaseBApparentPower', children: []},
                    {name: 'C相视在功率', propData: 'phaseCApparentPower', children: []},
                    {name: '总视在功率', propData: 'allApparentPower', children: []}
                ]
            },
            {name: '功率因数', propData: '', children: [
                    {name: 'A相功率因数', propData: 'phaseAPowerFactor', children: []},
                    {name: 'B相功率因数', propData: 'phaseBPowerFactor', children: []},
                    {name: 'C相功率因数', propData: 'phaseCPowerFactor', children: []},
                    {name: '总功率因数', propData: 'allPowerFactor', children: []}
                ]
            },
            {name: '频率(Hz)', propData: 'frequency', children: []},
        ],
        showColumn: {
            dataTime:true,
            activeEnergyConsumption: true,
            activeEnergyTotal: true,
            reverseActiveEnergy: true,
            inductiveReactivePower: true,
            capacitiveReactivePower: false,
            ctRatio: false,
            ptRatio: false,
            phaseAVoltage: false,
            phaseBVoltage: false,
            phaseCVoltage: false,
            lineAbVoltage: false,
            lineBcVoltage: false,
            lineCaVoltage: false,
            phaseACurrent: false,
            phaseBCurrent: false,
            phaseCCurrent: false,
            phaseAReactivePower: false,
            phaseBReactivePower: false,
            phaseCReactivePower: false,
            allReactivePower: false,
            phaseAActivePower: false,
            phaseBActivePower: false,
            phaseCActivePower: false,
            allActivePower: false,
            phaseAApparentPower: false,
            phaseBApparentPower: false,
            phaseCApparentPower: false,
            allApparentPower: false,
            phaseAPowerFactor: false,
            phaseBPowerFactor: false,
            phaseCPowerFactor: false,
            allPowerFactor: false,
            frequency: false
        },
        showCheckbox: [{
            name: '正向有功使用量',
            data: "activeEnergyConsumption"
        }, {
            name: '正向有功累计值',
            data: "activeEnergyTotal"
        },{
            name: '反向有功',
            data: "reverseActiveEnergy"
        }, {
            name: '感性无功',
            data: "inductiveReactivePower"
        },{
            name: '容性无功',
            data: "capacitiveReactivePower"
        }, {
            name: 'CT变比',
            data: "ctRatio"
        },{
            name: 'PT变比',
            data: "ptRatio"
        }, {
            name: 'A相电压',
            data: "phaseAVoltage"
        },{
            name: 'B相电压',
            data: "phaseBVoltage"
        }, {
            name: 'C相电压',
            data: "phaseCVoltage"
        },{
            name: 'AB线电压',
            data: "lineAbVoltage"
        }, {
            name: 'BC线电压',
            data: "lineBcVoltage"
        },{
            name: 'CA线电压',
            data: "lineCaVoltage"
        }, {
            name: 'A相电流',
            data: "phaseACurrent"
        },{
            name: 'B相电流',
            data: "phaseBCurrent"
        }, {
            name: 'C相电流',
            data: "phaseCCurrent"
        },{
            name: 'A相无功功率',
            data: "phaseAReactivePower"
        }, {
            name: 'B相无功功率',
            data: "phaseBReactivePower"
        },{
            name: 'C相无功功率',
            data: "phaseCReactivePower"
        }, {
            name: '总无功功率',
            data: "allReactivePower"
        },{
            name: 'A相有功功率',
            data: "phaseAActivePower"
        }, {
            name: 'B相有功功率',
            data: "phaseBActivePower"
        },{
            name: 'C相有功功率',
            data: "phaseCActivePower"
        }, {
            name: '总有功功率',
            data: "allActivePower"
        },{
            name: 'A相视在功率',
            data: "phaseAApparentPower"
        }, {
            name: 'B相视在功率',
            data: "phaseBApparentPower"
        },{
            name: 'C相视在功率',
            data: "phaseCApparentPower"
        }, {
            name: '总视在功率',
            data: "allApparentPower"
        },{
            name: 'A相功率因数',
            data: "phaseAPowerFactor"
        }, {
            name: 'B相功率因数',
            data: "phaseBPowerFactor"
        },{
            name: 'C相功率因数',
            data: "phaseCPowerFactor"
        }, {
            name: '总功率因数',
            data: "allPowerFactor"
        }, {
            name: '频率',
            data: "frequency"
        }],
        name: 'historyElectric'
    }

}